package singer

import (
    "context"

    "cing.io/cing-singer/internal"
    "cing.io/cing-singer/internal/config"
    "cing.io/cing-singer/internal/server"
)

func Init(ctx context.Context) {
    config.Init()
    server.Init(ctx)
}

func PutTaskFunc(taskFullName string, taskFunc func() error) {
    internal.PutTaskFunc(taskFullName, taskFunc)
}
